package com.qf.service;

/**
 * @version 1.0
 * @auther Administrator
 * @date 2023/2/7 15:14
 */
public class UserServiceImpl {

    public void taojihuanji(Integer i){
        if(i == 1){
            System.out.println("2：苹果20元一斤？");
        }else if(i == 2){
            System.out.println("4：这是北京，你做梦呢？");
        }else{
            System.out.println("6：当开张，就卖你了！");
        }
    }


    public void zufang(){ //public void com.qf.service.UserServiceImpl.zufang(形参）
        //核心业务
        System.out.println("UserServiceImpl:3.签合同");
        int i = 1/0;
        System.out.println("UserServiceImpl:4.收房租");
    }

    public void daguasi(){
        System.out.println("123");
        System.out.println("456");
    }
}
